package com.ccpdown.vo;

import android.graphics.drawable.Drawable;

public class Software implements Comparable<Software> {

	public String softId;
	public String typeName;
	public String softName;
	public String writer;
	public String softSq;
	public int softStart;
	public String softSay;
	public String softPic;
	public String fileSize;
	public String pathStr;
	public String softTime;
	public String version;
	public String packagename;
	public int versionCode;
	public Drawable icon;
	public String iconPath;
	
	public String getSoftId() {
		return softId;
	}



	public void setSoftId(String softId) {
		this.softId = softId;
	}



	public String getTypeName() {
		return typeName;
	}



	public void setTypeName(String typeName) {
		this.typeName = typeName;
	}



	public String getSoftName() {
		return softName;
	}



	public void setSoftName(String softName) {
		this.softName = softName;
	}



	public String getWriter() {
		return writer;
	}



	public void setWriter(String writer) {
		this.writer = writer;
	}



	public String getSoftSq() {
		return softSq;
	}



	public void setSoftSq(String softSq) {
		this.softSq = softSq;
	}


	public String getSoftSay() {
		return softSay;
	}



	public void setSoftSay(String softSay) {
		this.softSay = softSay;
	}



	public String getSoftPic() {
		return softPic;
	}



	public void setSoftPic(String softPic) {
		this.softPic = softPic;
	}



	public String getFileSize() {
		return fileSize;
	}



	public void setFileSize(String fileSize) {
		this.fileSize = fileSize;
	}



	public String getPathStr() {
		return pathStr;
	}



	public void setPathStr(String pathStr) {
		this.pathStr = pathStr;
	}



	@Override
	public int compareTo(Software another) {
		if(this.softName!=null){
			return this.softName.compareTo(another.softName);
		}else{
			throw new IllegalArgumentException("改软件的名称不对");
		}
	}

}
